import mysql from 'mysql'
// 数据库连接
 const db = mysql.createPool({
    host:'localhost',
    user:'root',
    password:'admin123',
    database:'studb'
})
//导出数据库
export default db